package com.me.customerdemo.pojo;

public class Order {

    /**
     * 订单id
     */
    private int id;
    /**
     * 下单客户id
     */
    private int cId;
    /**
     * 下单产品id
     */
    private int pId;
    /**
     * 下单产品数量
     */
    private int pNum;
    /**
     * 下单时间
     */
    private String orderTime;

    /**
     * 备注
     */
    private String other;

    private String cName;

    private String pName;

    /*public Order() {
    }

    public Order(int id, int cId, int pId, int pNum, String orderTime, String other) {
        this.id = id;
        this.cId = cId;
        this.pId = pId;
        this.pNum = pNum;
        this.orderTime = orderTime;
        this.other = other;
    }*/

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getcId() {
        return cId;
    }

    public void setcId(int cId) {
        this.cId = cId;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public int getpNum() {
        return pNum;
    }

    public void setpNum(int pNum) {
        this.pNum = pNum;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", cId=" + cId +
                ", pId=" + pId +
                ", pNum=" + pNum +
                ", orderTime='" + orderTime + '\'' +
                ", other='" + other + '\'' +
                ", cName='" + cName + '\'' +
                ", pName='" + pName + '\'' +
                '}';
    }
}
